<template>
  <div id="home">
    <p>home</p>
    <mt-button size="small" @click="handleClick">small</mt-button>
  </div>
</template>

<script>
  import { MessageBox } from 'mint-ui';
  export default {
    name: "home",
    data() {
      return{

      }
    },
    mounted(){
      //console.log(this.$route.params.text);
    },
    methods: {
      handleClick() {
        MessageBox.alert('操作成功').then(action => {
            console.log(123);
        });
      }
    }
  }
</script>

<style scoped>

</style>
